[paket]
tanim   = Mplayer tabanlı video oynatıcısı
paketci = milisarge
grup    = medya
url     = https://github.com/mpv-player/mpv

[gerek]
derleme = zlib waf alsa-lib ffmpeg lcms2 libass libbluray libcdio libcdio-paranoia libdrm libdvdnav libdvdread libglvnd libjpeg-turbo libplacebo libva libxkbcommon mesa pulseaudio shaderc vulkan-loader vulkan-headers wayland 
calisma =

[kaynak]
github  = mpv-player/${isim}
dosya   = mpv-libplacebo-3.104.0-api-change.patch

[sha256]
1       = 100a116b9f23bdcda3a596e9f26be3a69f166a4f1d00910d1789b6571c46f3a9

[derle]
betik   = ln -s /usr/bin/waf waf-light
betik   = ln -s /usr/lib/python3.9/site-packages/waf/waflib .
yama    = mpv-libplacebo-3.104.0-api-change.patch
betik   = waf configure --prefix=/usr --confdir=/etc/mpv --enable-cdda --enable-dvb --enable-dvdnav --enable-libarchive --enable-libmpv-shared --disable-build-date
betik   = waf build

[pakur]
betik   = waf install --destdir="$PKG"
betik   = install -m0644 TOOLS/lua/* -D -t "$PKG"/usr/share/mpv/scripts
betik   = echo "NoDisplay=true" >> $PKG/usr/share/applications/mpv.desktop
